<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<script src="../js/mui.min.js"></script>
<script type="text/javascript">
    var url = "http://s.music.163.com/search/get/";       
    mui.ajax(url,{
        data: {
           'type': 1,
            's': "喜欢你",
            'limit': 10
        },
        dataType:'json',//服务器返回json格式数据
        type:'post',//HTTP请求类型
        timeout:10000,//超时时间设置为10秒；
        success:function(data){
            console.log(JSON.stringify(data));
        },
        error:function(xhr,type,errorThrown){
            //异常处理；
            console.log(type);
        }
    });
</script>

	<body>
		
	</body>
</html>
